<#macro pagehead parentSources>
    <#if parentSources?has_content>
        <!-- begin breadcrumb -->
        <ol class="breadcrumb pull-right">
            <#assign pageIndex=0>
            <#assign totalSize=parentSources?size>
            <#assign current = null/>
            <#list parentSources as source>
                <#assign pageIndex=pageIndex+1>
                <#if pageIndex < totalSize>
                    <li><a href="javascript:;">${source.name}</a></li>
                <#else>
                    <li class="active">${source.name}</li>
                    <#assign current = source/>
                </#if>

            </#list>
        </ol>
        <!-- end breadcrumb -->
        <!-- begin page-header -->
        <h1 class="page-header"><i class="fa fa-bookmark-o m-r-5"></i>
            ${current.name}
            <small>${current.description}</small>
        </h1>
    <#else>
        <!-- begin breadcrumb -->
        <ol class="breadcrumb pull-right">
            <li><a href="javascript:;">${systemName}</a></li>
            <li class="active">index page</li>
        </ol>
        <!-- end breadcrumb -->
        <!-- begin page-header -->
        <h1 class="page-header">${systemName}
            <small>index page</small>
        </h1>
    </#if>
<hr/>
<!-- end page-header -->
</#macro>